#ifndef BYTECODEZZ_JNICALLBACKHELPER_H
#define BYTECODEZZ_JNICALLBACKHELPER_H

#include <jni.h>

class jnicallbackhelper {
private:
    jobject jobj;
    jmethodID jmethodId;

public:
    JNIEnv *env;
    JavaVM *jvm;
    JNIEnv *env_child;

    jnicallbackhelper(JavaVM *, JNIEnv *, jobject);

    virtual ~jnicallbackhelper();

    void onResult(int thread_mode, jobject raw, const char *outPutPath);
};

#endif //BYTECODEZZ_JNICALLBACKHELPER_H
